package net.tycmc.cty.ctyms.web.equiphealthstate;

import net.tycmc.bulb.common.dao.IBaseDAO;
import net.tycmc.cty.ctyms.timejob.common.MyBaseDAO;

public class EquipHealthStateDao {
	private IBaseDAO baseDAO;
	private MyBaseDAO mbd;

	public IBaseDAO getBaseDAO() {
		return baseDAO;
	}

	public void setBaseDAO(IBaseDAO baseDAO) {
		this.baseDAO = baseDAO;
	}

	public MyBaseDAO getMbd() {
		return mbd;
	}

	public void setMbd(MyBaseDAO mbd) {
		this.mbd = mbd;
	}

	public int getCount() {
		String sql = "select count(*) as count from Message_VclState_Health";
		return baseDAO.getCount(sql, new Object[]{});
	}
}
